#
#
#

CC = gcc
CCFLAGS = -Wall -std=gnu99 -DENABLE_CSE531_SCHEDULER
LDFLAGS = -lrt
COMPILE = $(CC) $(CCFLAGS) -c


OBJFILES := $(patsubst %.c,%.o,$(wildcard *.c))


all: sch531

sch531: $(OBJFILES)
	$(CC) -o sch531 $(OBJFILES) $(LDFLAGS)


%.o: %.c
	$(COMPILE) -o $@ $< 


clean:
	rm -v *.o

